package com.study.goal.service;


import com.study.common.core.domain.PageQuery;
import com.study.common.core.page.TableDataInfo;
import com.study.goal.domain.bo.IntegralExchangeRecordBo;
import com.study.goal.domain.vo.IntegralExchangeRecordVo;

import java.util.Collection;
import java.util.List;

/**
 * 积分兑换记录Service接口
 *
 * @author MT
 * @date 2025-09-03
 */
public interface IIntegralExchangeRecordService {

    /**
     * 查询积分兑换记录
     */
    IntegralExchangeRecordVo queryById(Long id);

    /**
     * 查询积分兑换记录列表
     */
    TableDataInfo<IntegralExchangeRecordVo> queryPageList(IntegralExchangeRecordBo bo, PageQuery pageQuery);

    /**
     * 查询积分兑换记录列表
     */
    List<IntegralExchangeRecordVo> queryList(IntegralExchangeRecordBo bo);

    /**
     * 新增积分兑换记录
     */
    Boolean insertByBo(IntegralExchangeRecordBo bo);

    /**
     * 修改积分兑换记录
     */
    Boolean updateByBo(IntegralExchangeRecordBo bo);

    /**
     * 校验并批量删除积分兑换记录信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
}
